<?php



$route = new \League\Route\RouteCollection($container);

$route->get('/hello', function(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response){
	$body = $response->getBody();
	$body->write('123456');
	return $response;
})->middleware(new \We7Test\Middleware\HelloMiddleware());

$route->get('/query', 'We7Test\Controller\IndexController::index');

return $route;
